// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import './assets/css/cssreset.less'
import VueLazyload from 'vue-lazyload'
import { Icon, Carousel, CarouselItem, Dialog, Button } from 'element-ui'

Vue.config.productionTip = false
Vue.use(VueLazyload, {
  preLoad: 1.3,
  // loading: require('../src/assets/images/lawyer_load.gif')
})
Vue.use(Icon)
Vue.use(Carousel)
Vue.use(CarouselItem)
Vue.use(Button)
Vue.component(Dialog.name, Dialog)

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  template: '<App/>',
  components: { App }
})
